#include "EventType.h"
#include "Listener.h"
#include "EventManager.h"

int main()
{
	EventType event;
	Listener myEar;	
	EventManager::Instance()->PopulateValidEvents();

	event.setName("EVENT_START_GAME1");
	myEar.AddEventMonitor(event);
	EventManager::Instance()->AddListener(myEar);
	EventManager::Instance()->QueueEvent(event);
	event.setName("EVENT_START_GAME2");
	EventManager::Instance()->QueueEvent(event);
	event.setName("EVENT_START_GAME3");
	EventManager::Instance()->QueueEvent(event);
	event.setName("EVENT_START_GAME4");
	EventManager::Instance()->QueueEvent(event);
	event.setName("EVENT_START_GAME5");
	EventManager::Instance()->QueueEvent(event);
	EventManager::Instance()->ProcessEvents();
	return 0;
}